package persistencia.DAOs;

import java.sql.SQLException;

import persistencia.PersistenciaException;
import logica.datatypes.DataEmpresa;

public interface IDAOEmpresas {
	
	public void insert(DataEmpresa dataEmpresa) throws PersistenciaException, SQLException, ClassNotFoundException;
	
	public boolean member(int rut) throws PersistenciaException, SQLException, ClassNotFoundException;
	
	public DataEmpresa find(int rut) throws SQLException, PersistenciaException, ClassNotFoundException;
	
	public void Eliminar(int rut) throws PersistenciaException, SQLException, ClassNotFoundException;
		
	public void modificarEmpresa(DataEmpresa dataEmpresa) throws SQLException, PersistenciaException, ClassNotFoundException;

	public boolean tieneEmpleados (int rut) throws PersistenciaException, SQLException, ClassNotFoundException;
	
	public DataEmpresa[] listadoEmpresas() throws SQLException, ClassNotFoundException, PersistenciaException;
	
}
